package com.suhui.task.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    private String id;
    private String year_week;
    @Pattern(regexp = "^(提高组|学习组|开发组)$", message = "输入内容必须为 提高组 或 学习组 或 开发组")
    private String group;
    private String group_detail = "暂无";
    private String task_introduction;
    private String task_content;
}
